FROM python:3.6

WORKDIR /opt/server

COPY requirements.txt ./

RUN pip install --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt

COPY . .

CMD ["gunicorn", "app:ai_dps_flask", "-c", "./gunicorn.py"]

#CMD ["python","runServer.py"]